package com.kmxd.ams.client.oss.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;

/**
 * 公共附件表
 *
 * @author ZuoLG
 * @since 2022-07-25
 */
@Schema(description = "公共附件表对象")
@Data
public class OssAttachmentQueryDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 主键ID */
  @Schema(description = "主键ID")
  private Long id;

  /** 公司ID */
  @Schema(description = "公司ID")
  private Long comId;

  /** 全宗ID */
  @Schema(description = "全宗ID")
  private Long fondsId;

  /** 附件所属业务 公告:notice,专题subject 盘点 */
  @Schema(description = "附件所属业务 公告:notice,专题subject 盘点")
  private String type;

  /** 附件名称 */
  @Schema(description = "附件名称")
  private String name;

  /** 附件扩展名 */
  @Schema(description = "附件扩展名")
  private String ext;

  /** 附件大小 */
  @Schema(description = "附件大小")
  private String fileSize;

  /** 附件保存路径 */
  @Schema(description = "附件保存路径")
  private String path;

  /** 业务关联id */
  @Schema(description = "业务关联id")
  private Long pid;

  /** 根路径 */
  @Schema(description = "根路径")
  private String rootPath;

  /** 转换之后的文件名 */
  @Schema(description = "转换之后的文件名")
  private String showFileName;

  /** 转换之后的路径 */
  @Schema(description = "转换之后的路径")
  private String transferPath;

  /** 附件转换状态 */
  @Schema(description = "附件转换状态")
  private Long transferStatus;

  /** 状态 */
  @Schema(description = "状态")
  private Long status;
}
